package com.xm.xmapp.base;

import com.xm.xmapp.http.XMURL;
import com.xm.xmapp.tool.AndroidTool;
import com.xm.xmapp.tool.JavaTool;

/**
 * Created by LDW on 2017/7/14.
 */
public abstract class ReqBaseBean {
    public abstract String getUrl();
    public String getCacheString() {
        return getUrl().replaceAll(XMURL.baseUrl, XMURL.v);
    }

    public Object rnd = JavaTool.encode(System.currentTimeMillis() / 1000 + ""),
            client = 2,
            uid ,
            token, sign , version = AndroidTool.getVersionCode();
}
